<script setup lang="ts">
import { useRouter } from 'vue-router'

const router = useRouter()
const startScreen = () => {
  router.push('/question/reply/1')
}
</script>

<template>
  <div>
    <div class="result-main">
      <van-icon name="question-o" id="icon" />
      <h4>还未开始筛查，请点击下方按钮开始</h4>
    </div>
    <div class="result-button">
      <van-button size="large" round @click="startScreen">开始筛查</van-button>
    </div>
  </div>
</template>

<style scoped lang="scss">
@import '../../variables';

.result-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  & #icon {
    margin-top: 2rem;
    font-size: 5rem;
    color: $title-font-color;
  }

  & h4 {
    font-size: 1.1rem;
    color: $title-font-color;
  }
}

.result-button {
  width: 100%;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;

  & button {
    width: 80%;
    height: 3rem;
    color: white;
    font-size: 15px;
    background-color: $--bg-common;
  }
}
</style>
